Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: dev build and updater #186

Merged
merged 2 commits into from
Dec 23, 2023
Merged

fix: dev build and updater #186

merged 2 commits into from
Dec 23, 2023

Conversation

greenhat616
Copy link
Collaborator

@greenhat616 greenhat616 commented Dec 22, 2023

image

解决 #177

修复由 rocksdb 导致的 macos 构建失败问题;
修复 updater 工作机制.

已知问题

由于 Tauri 的 Bug 以及 特性缺失,以至于 windows 下的程序 Updater 失效(由于 workaround 是直接使用 1.4.2 高于我们的 Dev 版本 1.4.2-alpha+hash

  • NSIS 版本是支持完整 Semver 的,但是 Tauri 的 Bug,导致这个分支也被当做 numberic 的 MSI 处理了
  • MSI 使用 FileVersion,第一版 workaround 准备直接改模板的,但是由于 Tauri 的设计问题,根本不允许我们关闭他的垃圾校验……方案卒

因此,需要讨论解决方案:

  • 直接使用 1.4.1 这样可以确保每天都能收到最新更新,但是永远拥有更新提示;
  • 看看有没有变通方法,譬如 Tauri Updater 支持强制同版本更新或者降级的话,可以改成前端检测。

@greenhat616 greenhat616 requested a review from keiko233 December 22, 2023 01:46
@keiko233 keiko233 merged commit ef85b8f into libnyanpasu:dev Dec 23, 2023
2 checks passed
@keiko233
Copy link
Member

emmm,也许前端检测会更好一点,我先看看是怎么个事

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants